// ADBlock，网络资源阻塞，阻止广告脚本下载

// 需要阻塞的网络请求url
var blockUrl = [

	// chinaz
	"*://*.chinaz.com/*/tool_*.js",

	// csdn
	"https://kunpeng.csdn.net/ad/*",
	
	// jb51
	"*://icws.jb51.net/good*/arc*.js",
	
	// jianshu
	"*://cdn2.jianshu.io/shakespeare/_next/static/T9nos6J88MAOFezDXMeJq/pages/p/%5Bslug%5D.js",
	
	// baidu
	//"https://hm.baidu.com/*",
	//"*://pos.baidu.com/*",
	"*://feed-image.baidu.com/*",
	"https://dup.baidustatic.com/js/os.js",
	"https://cpro.baidustatic.com/cpro/ui/c.js",
	"https://zz.bdstatic.com/linksubmit/push.js",
	"https://exp.bdstatic.com/static/exp-pc/article/widget/ad/*",
	
	// google
	"*://pagead2.googlesyndication.com/pagead/show_ads.js*",
	"*://*/**adsbygoogle.js*",
	"*://*.google-analytics.com/*",
	"https://ads.yahoo.com/*",
	//"https://cm.g.doubleclick.net/*"
	//"https://googleads.g.doubleclick.net/*"
	"*://*.doubleclick.net/*",
	"https://www.googletagmanager.com/*",
	"https://adservice.google.com/*",
	"https://imasdk.googleapis.com/js/sdkloader/ima3.js",
	
	// 长城宽带
	"*://*/**shebao.html",
	"http://10.72.25.13:9099/*",
	
	// other
	"https://vali-g1.cp31.ott.cibntv.net/*",
	"https://c.v4dwkcv.com/js/c/23389_5611_1.js",
	"https://j.sdqoi2d.com/r/er_18203_7798.js",
	"*://*.dlads.cn/*",
	"*://*.woskj2.com/*",
	"http://www.diezhan.me/js/fast.js",
	"https://pc.cathaycentury.com/pc/rich-tf.js",
	"*://*/**crystal-min.js",
	"*://21ic.antdsp.com/*",
	"https://securepubads.g.doubleclick.net/tag/js/gpt.js",
	"*://adaccount.csdn.net/*",
	"*://*.mediav.com/*",
	"https://dss0.bdstatic.com/-0U0bnSm1A5BphGlnYG/tam-ogel/435e1db9-342a-486e-b9df-f576a7c00a5a.js",
	"https://vj.jisuoping.com/*",
	"http://imgbdb3.bendibao.com/img/20168/25/2016825095522_94814.png",
	
	// qq
	"https://h5.ssp.qq.com/static/web/websites/pcnewsplugin/sspad_20200821.js",
	
	// quanji456.com zxzj.me
	"*://*/**slade*.js",
	
	// 1090影视
	"http://pc.weizhenwx.com/pc/rich-tf.js",
	
	// 新浪
	//"http://d5.sina.com.cn/litong/zhitou/sinaads/release/sinaads.js",
	//"https://d3.sina.com.cn/litong/zhitou/sinaads/release/sinaads.js",
	"*://*.sina.com.cn/**sinaads.js",
	"https://js.t.sinajs.cn/t4/apps/publicity/static/wbad.js*",
	
	// 360 doc
	"*://www.360doc.com/ad/ad_360doc.html*",
	
	// 有道提供广告
	"https://shared.ydstatic.com/js/yatdk/3.0.0/pcBanner.js",
	
	// 搜狐
	//"*://*.cdn.sohucs.com/*.gif",
	"*://*.alicdn.com/**tanxssp.js*",
	"https://match.sports.sohu.com/*",
	"https://s.go.sohu.com/adgtr/*",
	
	// 网易
	// https://static.ws.126.net/163/f2e/www/index20170701/js/foot~1ca2e7a867848.js
	// "*://*.126.net/**foot*.js",
	"https://g.163.com/r*",
	"https://g.163.com/jr*",
	"https://g.163.com/ur*",
	"https://g.163.com/a*",
	// https://static.ws.126.net/163/f2e/modules/adtracker2019/js/foot~285d3eeda83af.js
	"https://static.ws.126.net/163/f2e/modules/adtracker2019/*",
	//https://img3.126.net/ntesrich/auto/adbox/adbox-v1.1.2-120705.js
	"https://img3.126.net/ntesrich/auto/adbox/adbox*.js",
	"https://yt-adp.ws.126.net/ntesrich/auto/js/ntesrich_auto_js_dlbox_20190801.js",
	"https://yt-adp.ws.126.net/ntesrich/auto/js/2017.01.01-vlingyu-v3.js",
	"https://yt-adp.ws.126.net/ntesrich/auto/js/2017.04.13-jmdt.js",
	"https://img3.126.net/ntesrich/2018/0101/adControl-20180730.js",
	
	
	// IT屋
	"https://g.ieeod0.com/*",
	"*://*.vdo.ai/*",
	"https://targeting.vdo.ai/allowed_url.php*",
	"https://j.sdqoi2d.com/r/ec_24340_9171.js",
	
	// 软件帝
	"https://www.ruanjiandi.com/d/js/acmsd/thea*.js",
	
	// 学步园
	"https://p.107788.com/s.json*",
	
	// 56视频
	"*://*.56img.com/modjs/app/page/www/play-pgc/1.7.x/anchor-recommend.js*",
	"https://vm.aty.sohu.com/pvlog*",
	"http://v.aty.sohu.com/v*",
	"http://js.tv.itc.cn/gg.seed.js",
	"http://sp.qf.56.com/v56/v2/indexBar.do?callback=liveLever",
	
	// mvcat 
	"*://*.mvcat.com/script/ad.js*",
	"*://*.mvcat.com/css/ad.css*",
	
	// 西瓜影视
	"https://pc.stgowan.com/*",
	"https://i.agentimg.xyz/*",
	
	// 低端影视 https://ddrk.me/
	"*://vip2.loli.io/*",
	
	// 影视工厂 https://www.ysgc.cc/
	"*://*.ysgc.cc/adimg/*",
	"*://tz.kefuyuming.vip/*",
	"*://*.yximgs.com/bs2/adcarsku/*.gif",
	
	// 努努影院 https://www.nunuyy3.org/
	"*://mediaadjustment.com/*",
	"*://shipostrich.com/7e/35/3c/7e353c40dfd29169974f5fc761bc87a2.js?*",
	"https://js.wpadmngr.com/static/adManager.js",
	
	// 13听书网 www.ting13.com
	"*://3598.chushoushijian.cn/*",
	"*://js.penxiangge.com/*",
	
	// 美果TV www.mgtvyy.cc
	"*://cdn.metaversemolecule.com/maizhan/js/rbadx.js?v=*",
];
chrome.webRequest.onBeforeRequest.addListener(
    function(details) { return {cancel: true}; },
    {urls: blockUrl},
    ["blocking"]
);
